import {ApiResponse, http as api, CurrentUser} from "slash-admin";

export const getCurrentUser = async (): Promise<ApiResponse<CurrentUser>> => {
  return api.doPost("/AuthApp/user/currentUserInfo");
};